.class public abstract Lcom/instagram/creation/video/d/a;
.super Ljava/lang/Object;
.source "MediaDecoderManager.java"

# interfaces
.implements Landroid/graphics/SurfaceTexture$OnFrameAvailableListener;


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0xe
.end annotation


# instance fields
.field protected final a:Ljava/lang/Object;

.field protected b:Z

.field protected c:Landroid/os/Handler;

.field protected d:Lcom/instagram/creation/video/d/c;

.field protected e:Lcom/instagram/pendingmedia/model/a;

.field private f:Lcom/instagram/creation/video/d/b;


# direct methods
.method protected constructor <init>(Lcom/instagram/creation/video/d/b;)V
    .locals 1
    .parameter

    .prologue
    .line 36
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 24
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    iput-object v0, p0, Lcom/instagram/creation/video/d/a;->a:Ljava/lang/Object;

    .line 25
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/instagram/creation/video/d/a;->b:Z

    .line 28
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/instagram/creation/video/d/a;->c:Landroid/os/Handler;

    .line 37
    iput-object p1, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    .line 38
    return-void
.end method

.method public static a(Lcom/instagram/creation/video/d/b;Lcom/instagram/creation/video/i/a;)Lcom/instagram/creation/video/d/a;
    .locals 4
    .parameter
    .parameter

    .prologue
    .line 42
    new-instance v0, Lcom/instagram/creation/video/d/e;

    new-instance v1, Lcom/instagram/creation/video/gl/l;

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-direct {v1, v2, v3}, Lcom/instagram/creation/video/gl/l;-><init>(Landroid/graphics/SurfaceTexture;I)V

    invoke-direct {v0, p0, v1, p1}, Lcom/instagram/creation/video/d/e;-><init>(Lcom/instagram/creation/video/d/b;Lcom/instagram/creation/video/gl/l;Lcom/instagram/creation/video/i/a;)V

    return-object v0
.end method


# virtual methods
.method public abstract a()V
.end method

.method public a(Landroid/graphics/SurfaceTexture;I)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 62
    invoke-virtual {p0}, Lcom/instagram/creation/video/d/a;->j()Lcom/instagram/creation/video/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/video/d/d;->l()Lcom/instagram/creation/video/gl/l;

    move-result-object v0

    .line 63
    invoke-virtual {v0, p1, p2}, Lcom/instagram/creation/video/gl/l;->a(Landroid/graphics/SurfaceTexture;I)V

    .line 64
    new-instance v1, Ljava/lang/Thread;

    invoke-direct {v1, v0}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    .line 65
    return-void
.end method

.method public a(Lcom/instagram/creation/video/d/c;)V
    .locals 0
    .parameter

    .prologue
    .line 86
    iput-object p1, p0, Lcom/instagram/creation/video/d/a;->d:Lcom/instagram/creation/video/d/c;

    .line 87
    return-void
.end method

.method public a(Lcom/instagram/pendingmedia/model/a;)V
    .locals 0
    .parameter

    .prologue
    .line 80
    iput-object p1, p0, Lcom/instagram/creation/video/d/a;->e:Lcom/instagram/pendingmedia/model/a;

    .line 81
    return-void
.end method

.method public abstract b()V
.end method

.method public abstract c()V
.end method

.method public abstract d()V
.end method

.method public abstract e()V
.end method

.method public abstract f()Z
.end method

.method public g()V
    .locals 1

    .prologue
    .line 68
    invoke-virtual {p0}, Lcom/instagram/creation/video/d/a;->j()Lcom/instagram/creation/video/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/video/d/d;->n()V

    .line 69
    return-void
.end method

.method public h()V
    .locals 1

    .prologue
    .line 72
    invoke-virtual {p0}, Lcom/instagram/creation/video/d/a;->j()Lcom/instagram/creation/video/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/video/d/d;->o()V

    .line 73
    return-void
.end method

.method public i()V
    .locals 1

    .prologue
    .line 76
    invoke-virtual {p0}, Lcom/instagram/creation/video/d/a;->j()Lcom/instagram/creation/video/d/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/video/d/d;->p()V

    .line 77
    return-void
.end method

.method public abstract j()Lcom/instagram/creation/video/d/d;
.end method

.method protected final k()V
    .locals 1

    .prologue
    .line 90
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 91
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->a()V

    .line 93
    :cond_0
    return-void
.end method

.method protected final l()V
    .locals 1

    .prologue
    .line 96
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 97
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->b()V

    .line 99
    :cond_0
    return-void
.end method

.method protected final m()V
    .locals 1

    .prologue
    .line 102
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 103
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->c()V

    .line 105
    :cond_0
    return-void
.end method

.method protected final n()V
    .locals 1

    .prologue
    .line 108
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 109
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->d()V

    .line 111
    :cond_0
    return-void
.end method

.method protected final o()V
    .locals 1

    .prologue
    .line 114
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 115
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->e()V

    .line 117
    :cond_0
    return-void
.end method

.method protected final p()V
    .locals 1

    .prologue
    .line 120
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    if-eqz v0, :cond_0

    .line 121
    iget-object v0, p0, Lcom/instagram/creation/video/d/a;->f:Lcom/instagram/creation/video/d/b;

    invoke-interface {v0}, Lcom/instagram/creation/video/d/b;->f()V

    .line 123
    :cond_0
    return-void
.end method
